home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Java Interactive Reference Guide
/
Java Interactive Reference Guide.iso
/
autorun
/
unit1.pas
< prev
Wrap
Pascal/Delphi Source File
|
1980-01-03
|
657b
|
40 lines
unit Unit1;
interface
uses
SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
Forms, Dialogs, ExtCtrls;
type
TForm1 = class(TForm)
Timer1: TTimer;
procedure Timer1Timer(Sender: TObject);
procedure FormShow(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.DFM}
procedure TForm1.Timer1Timer(Sender: TObject);
begin
CLOSE;
end;
procedure TForm1.FormShow(Sender: TObject);
VAR CMD:ARRAY [0..255] OF CHAR;
begin
STRPCOPY(CMD, 'D:\AUTORUN\JAVA');
WINEXEC(CMD,SW_SHOWnormal);
end;
end.